<!--# layout("/common/layout.html",{"jsBase":"/js/train/member/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            	<label class="layui-form-label">手机号码</label>
				<div class="layui-input-inline">
					<input type="text" id="phone" name="phone"  value="${member.phone}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            	<label class="layui-form-label">用户名</label>
				<div class="layui-input-inline">
					<input type="text" id="loginName" name="loginName"  value="${member.loginName}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            	<label class="layui-form-label">昵称</label>
				<div class="layui-input-inline">
					<input type="text" id="userName" name="userName"  value="${member.userName}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            	<label class="layui-form-label">用户姓名</label>
				<div class="layui-input-inline">
					<input type="text" id="name" name="name"  value="${member.name}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            	<label class="layui-form-label">password</label>
				<div class="layui-input-inline">
					<input type="text" id="password" name="password"  value="${member.password}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            	<label class="layui-form-label">邮箱</label>
				<div class="layui-input-inline">
					<input type="text" id="mail" name="mail"  value="${member.mail}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            	<label class="layui-form-label">自我描述</label>
				<div class="layui-input-inline">
					<input type="text" id="description" name="description"  value="${member.description}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            	<label class="layui-form-label">省份</label>
				<div class="layui-input-inline">
					<input type="text" id="provinceId" name="provinceId"  value="${member.provinceId}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            	<label class="layui-form-label">城市</label>
				<div class="layui-input-inline">
					<input type="text" id="city" name="city"  value="${member.city}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            	<label class="layui-form-label">区县</label>
				<div class="layui-input-inline">
					<input type="text" id="country" name="country"  value="${member.country}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            	<label class="layui-form-label">创建时间</label>
				<div class="layui-input-inline">
					<input type="text" id="createTime" name="createTime"  value="${member.createTime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <layui:attachment name="attachmentId" batchFileUUID="${member.attachmentId!uuid()}" isNew="false" bizId="${member.id}" bizType="Member"/>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="id" value="${member.id}" />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var memberEdit = layui.edit
    memberEdit.init();
});
</script>
